<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="../../../../common/css/bootstrap.css" type="text/css">
    <link href="../../../../common/css/nice-select.css" rel="stylesheet">
    <link href="../../../../common/css/style.css" rel="stylesheet">
    <link rel="stylesheet" href="../../../../common/css/layui.css">
    <script src="../../../../common/js/jquery-3.6.0.js"></script>
    <script src="../../../../seeker/js/bootstrap.js"></script>
    <script src="../../../../common/js/layui.js"></script>
    <title>简历</title>
</head>
<body>
<div class="container">
    <div class="row">
        <div class="col-md-9" style="height: 20px;"></div>
        <div class="col-md-3" style="height: 20px;"></div>
    </div>
    <div class="row">
        <div class="col-md-8">
            <div class="row" style="height: 100px;">
                <div class="col-md-3" style="height: 50px;">
                    <div class="h2">个人简历</div>
                </div>
                <div class="col-md-9" style="height: 100px;">
                    <div class="col-md-8">
                        <div class="row" style="height: 50px;">
                            <div class="col-md-3">
                                <div class="row" style="height: 10px"></div>
                                <span class="badge badge-xl light badge-warning">姓名</span>
                            </div>
                            <div class="col-md-9">
                                <input id="username" type="text" class="form-control" value="小冰" readonly="readonly">
                            </div>
                        </div>
                        <div class="row" style="height: 50px;">
                            <div class="col-md-3">
                                <div class="row" style="height: 10px"></div>
                                <span class="badge badge-xl light badge-warning">电话</span>
                            </div>
                            <div class="col-md-9">
                                <input id="phone" type="text" class="form-control" value="18308305778" readonly="readonly">
                            </div>
                        </div>
                        <div class="row" style="height: 50px;">
                            <div class="col-md-3">
                                <div class="row" style="height: 10px"></div>
                                <span class="badge badge-xl light badge-warning">邮箱</span>
                            </div>
                            <div class="col-md-9">
                                <input id="email" type="email" class="form-control" value="2576140991@qq.com" readonly="readonly">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <br>
            <div class="row" style="height: 30px;"></div>
            <div class="row" style="height: 100px;">
                <div class="col-md-2">
                    <div class="h3"> 个人优势</div>
                </div>
                <div class="col-md-7">
                    <textarea type="text" id="advantage" class="form-control" rows="4" name=textarea  readonly>java</textarea>
                </div>

            </div>
            <div class="row" style="height: 100px;">
                <div class="col-md-2">
                    <div class="h3"> 期待职位</div>
                </div>
                <div class="col-md-7">
                    <input id="expectedPosition" type="text" class="form-control" value="java" readonly>
                </div>
            </div>
            <div class="row" style="height: 100px;">
                <div class="col-md-2">
                    <div class="h3"> 学历</div>
                </div>
                <div class="col-md-7">
                    <input id="education" type="text" class="form-control" value="本科" readonly="readonly">
                </div>
            </div>
            <div class="row" style="height: 100px;">
                <div class="col-md-2">
                    <div class="h3"> 实习经历</div>
                </div>
                <div class="col-md-7">
                    <textarea type="text" id="internship" class="form-control" rows="4" name=textarea readonly="readonly"></textarea>
                </div>
            </div>
            <div class="row" style="height: 100px;">
                <div class="col-md-2">
                    <div class="h3">工资要求</div>
                </div>
                <div class="col-md-1">
                    <div class="row" style="height: 15px;"></div>
                    <div class="h4">最低</div>
                </div>
                <div class="col-md-2">
                    <input id="minSalary" type="number" class="form-control" value="1000.00" readonly="readonly">
                </div>
                <div class="col-md-1">
                    <div class="row" style="height: 15px;"></div>
                    <div class="h4">最高</div>
                </div>
                <div class="col-md-2">
                    <input id="maxSalary" type="number" class="form-control" value="2000.00" readonly="readonly">
                </div>
                <div class="col-md-1">
                </div>

            </div>
        </div>

    </div>
</div>

<script src="../../js/commons.js"></script>
<script>

window.onload=function(){
    $.ajax({
        url: URL+"recruiter/delivery/onlineResume",
        headers: {"token":window.localStorage.getItem("token")},
        success:function (result){
            $("#username").val= result.data.user.nickname;
            $("#phone").val= result.data.user.username;
            $("#email").val= result.data.user.email;
            $("#education").val= result.data.education;
            $("#internship").val= result.data.internship;
            $("#minSalary").val= result.data.minSalary;
            $("#maxSalary").val= result.data.maxSalary;
            $("#advantage").val= result.data.advantage;
            $("#expectedPosition").val= result.data.expectedPosition;
        }
    })

}


</script>
</body>
</html>